<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/23
 * Time: 11:33
 */

namespace AppBundle\Task;

use AppBundle\Task\AlertModelConfig;

class AlertModel_6_4 extends AbstractAlertModel
{
    // config parameters
    public $version = "6.2";
    public $name = 'getFutures6_4';
    public $prefix = AlertModelConfig::FUTURES_CLOSE_SHORT;

    public $title = '模型-6.4';

    public function title()
    {
        $title = sprintf(
            '%s-%s',
            $this->version,
            AlertModelConfig::tradeTypeName($this->prefix)
        );
        return $title;
    }

    public function name()
    {
        return $this->name;
    }

    public function version()
    {
        return $this->version;
    }

    public function prefix()
    {
        return $this->prefix;
    }
}
